<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link href="/favicon.ico">
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{ static_url("AdminLTE/dist/css/AdminLTE.min.css") }}">
    <link rel="stylesheet" href="{{ static_url("css/login.css") }}">
    <title>福娃后台登陆</title>
</head>
<body class="hold-transition login-page">
<div class="login-box">
    <div class="login-logo">
        <a href="#"><b>福娃</b>后台</a>
    </div>
    <!-- /.login-logo -->
    <div class="login-box-body">
        <p class="login-box-msg">商家用户请输入用户ID</p>
        <div class="alert alert-danger in" id="alert-info"></div>
        <form class="form-signin" method="post" action="/login?next={{ n }}">
            <div class="form-group has-feedback">
                <label for="userName">用户名</label>
                <div class="input-group">
                    <input type="text" id="user_name" name="user_name" class="form-control" placeholder="用户名" required autofocus>
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-user"></span>
                    </span>
                </div>
            </div>
            <div class="form-group has-feedback">
                <label for="userPass">密码</label>
                <div class="input-group">
                    <input type="password" id="user_pass" name="user_pass" class="form-control" placeholder="密码" required>
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-lock"></span>
                    </span>
                </div>
            </div>
            <div class="checkbox">
                <label>
                    <input id="remember" name="remember" type="checkbox"> 记住登陆
                </label>
            </div>
            {% raw xsrf_form_html() %}
            <input id="next" name="next" type="hidden" value="{{ n }}">
            <input id="isAjax" name="isAjax" value="1" type="hidden">
            <button id="btn_submit" class="btn btn-primary btn-block btn-flat" disabled="disabled">登陆</button>
        </form>
    </div>
    <!-- /.login-box-body -->
</div>
<!-- /.login-box -->
<script src="http://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="{{ static_url("javascript/spin.min.js") }}"></script>
<script src="{{ static_url("javascript/login.min.js") }}"></script>
</body>
</html>